#ifndef __LIB_AGORA_CLIENT_IADMINMANAGER_H__
#define __LIB_AGORA_CLIENT_IADMINMANAGER_H__

#include "IBuffer.h"
#include "Header.h"
#include <string>

namespace AgoraClient
{

// TODO Obsolete

class	IAdminManager
{
public:
	virtual void	GetAllChannel() = 0;
	virtual void	AddChannel(std::string				name,
		std::string				password,
		unsigned int			maxNameLength,
		unsigned int			maxPasswordLength,
		std::string				motd,
		unsigned int			maxMotdLength,
		std::string				description,
		unsigned int			maxDescriptionLength,
		bool					visible,
		unsigned int			maxUser,
		unsigned int			maxTalker,
		unsigned int			idParent) = 0;
	virtual void	LoadAllChannel(void *serializedData, unsigned int size) = 0;
private:
	virtual void	SendCmd(IBuffer* buf, InfoAdmin* inf) = 0;
};

}

#endif